package cate.game.role.farm.guildBoss.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdGuild;
import cate.game.role.farm.guildBoss.MyGuildBossPO;
import easy.java.dev.note.NoteField;
import cate.game.role.Role;


@ClientMsg(title = "我的公会BOSS数据 の 返回")
public class MyGuildBossDataResp implements MsgOutput {
    public MyGuildBossDataResp() {
    }

    @NoteField(value = "我的公会BOSS数据")
    public MyGuildBossPO data;

    public MyGuildBossDataResp(Role role) {
        this.data = role.getFarm().guildBoss;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdGuild.GUILD_BOSS_DATA_RESP;
    }
}
